DaoAI Vision User Manual

Contents

  • System Overview
  • Hardware
  • Nodes Detail Explanation
    • Recipe nodes
    • Data Control
      • Link Expression
      • Python Interpreter and Advanced Expressions
      • Quick Evaluate
    • Flowchart Control
    • Utility Functions
    • Images
    • 3D Processing Nodes
    • Calibration Nodes
    • DaoAI Advanced Modules
    • Robot Related
    • Robot Pilot Nodes
  • Deep Learning
  • Complete Robot Guidance Setup
  • Template usage
  • Exercise
  • FAQ & Trouble Shooting
DaoAI Vision User Manual
  • Nodes Detail Explanation
  • Data Control
  • Link Expression
  • View page source

Link Expression

For a node to take the output of other nodes as an input, link expression is used. The link expression links the data from one node to another.

../../_images/link_expression_6.png

Link expression is like a file location system. The “Out” represent this is an output of a node. “main_flowchart.camera_node” represents the target node location. And the “images” means the output images are taken.

Normally the link expression will be generated by selecting node and the desired attribute. Users do not need to type the entire link expression.

Note

Link expression only supports the simplest usage. It use the output based on the location as an input. If logic control is needed, please refer to “Python Interpreter and Advanced Expression”.

For example, there is a Camera node that takes images.

../../_images/link_expression_1.png

The goal is to use the Mod Finder Node to detect tees. The Mod Finder Node need to know where is the image.

../../_images/link_expression_2.png

Click on the blue dot next Image to select the link to the image. A “LinkExpressionDialog” shows up, and it displays available links.

../../_images/link_expression_3.png

The filter automatically set to “object”, therefore, only objects are shown under the linked node.

../../_images/link_expression_4.png

Select “image” under the camera node, and the corresponding link expression will be generated automatically on the right window. Hit “Apply” to save the change.

../../_images/link_expression_5.png

A more convenient way to select the node when there are many nodes in the flowchart is using the function “Select From Flowchart…”.

../../_images/link_expression_7.png

Open the “LinkExpressionDialog” and hit the “Select From Flowchart…”.

../../_images/link_expression_8.png

Click on the node that has the output. In this case, the camera node is the target so choose the camera node.

../../_images/link_expression_9.png

Now the camera node is selected in the “LinkExpressionDialog”, and user only need to choose the attribute (image)

../../_images/link_expression_10.png
Previous Next

© Copyright 2021 DaoAI Robotics Inc..

Built with Sphinx using a theme provided by Read the Docs.
Other Versions v: master
Branches
2.22.6.0
master